// 引入
import { defineConfig } from 'vite'

export default defineConfig({
  server: {
    port: 25040,
    open: true,
    proxy: {
      '/bw': {
        target: 'http://121.89.213.194:3001',
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/bw/, ''),
      }
    }
  }
})
